package la.iok.hzsvn.lewin.movie.cloud.service;

import la.iok.hzsvn.lewin.movie.cloud.model.Code2SessionRes;
import la.iok.hzsvn.lewin.movie.cloud.model.UserPhoneNumberRes;
import la.iok.hzsvn.lewin.movie.cloud.model.WxQRCodeParam;
import la.iok.hzsvn.share.annotations.NotNull;

import javax.servlet.http.HttpServletResponse;

public interface WxRestService {
    UserPhoneNumberRes phoneNumber(@NotNull String code, Integer client);
    Code2SessionRes code2Session(@NotNull String code, Integer client);

    /**
     * 微信小程序码-二维码
     * @param response 响应对象
     * @param param 二维码参数
     */
    void wxCode(HttpServletResponse response, WxQRCodeParam param);
}
